package com.yuju.hotel.service;

import java.util.List;
import java.util.Map;

import com.yuju.common.core.service.IBaseService;
import com.yuju.hotel.dao.entity.PriceScheme;
import com.yuju.hotel.model.PriceDetailModel;
import com.yuju.hotel.model.PriceSchemeModel;

public interface IPriceSchemeService extends IBaseService<PriceSchemeModel, PriceScheme, String>{

	List<Map<String, Object>> getPriceSchemeList(PriceSchemeModel priceSchemeModel);
	int savePriceScheme(PriceSchemeModel priceSchemeModel , List<PriceDetailModel> priceDetailModels);
	int updatePriceScheme(PriceSchemeModel priceSchemeModel , List<PriceDetailModel> priceDetailModels);
	//新增分店时为分店添加价格方案原始数据
	int saveHotelAfter(String hotelId,String groupId);
	boolean selectByName(PriceSchemeModel priceSchemeModel);
	List<PriceSchemeModel> priceSchemeDropdownList(PriceSchemeModel priceSchemeModel);
}

